package guojin.config;

import com.sun.org.apache.bcel.internal.generic.NEW;
import guojin.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @author haoge
 * @version $Id BoundSql.java, v 0.1 2021-06-14 20:04 haoge Exp $$
 */
public class BoundSql {
    //解析后的sql
    private String sqlText;

    private List<ParameterMapping> lists= new ArrayList<>();


    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getLists() {
        return lists;
    }

    public void setLists(List<ParameterMapping> lists) {
        this.lists = lists;
    }

    public BoundSql(String sqlText, List<ParameterMapping> lists) {
        this.sqlText = sqlText;
        this.lists = lists;
    }
}
